home *** CD-ROM | disk | FTP | other *** search
/ HAKERIS 11 / HAKERIS 11.ISO / linux / system / LinuxConsole 0.4 / linuxconsole0.4install-en.iso / linuxconsole0.4.lcm / local / linuxconsole / share / alsa / cards / ENS1370.conf < prev    next >
Encoding:
Text File  |  2004-03-26  |  1.0 KB  |  85 lines

  1. #
  2. # Configuration for the ENS1370 chip
  3. #
  4.  
  5. <confdir:pcm/front.conf>
  6.  
  7. ENS1370.pcm.front.0 {
  8.     @args [ CARD ]
  9.     @args.CARD {
  10.         type string
  11.     }
  12.     type hw
  13.     card $CARD
  14.     device 1
  15. }    
  16.  
  17. <confdir:pcm/rear.conf>
  18.  
  19. ENS1370.pcm.rear.0 {
  20.     @args [ CARD ]
  21.     @args.CARD {
  22.         type string
  23.     }
  24.     type hooks
  25.     slave.pcm {
  26.         type hw
  27.         card $CARD
  28.         device 0
  29.     }
  30.     hooks.0 {
  31.         type ctl_elems
  32.         hook_args [
  33.             {
  34.                 name "PCM 0 Output also on Line-In Jack"
  35.                 preserve true
  36.                 lock true
  37.                 value true
  38.             }
  39.             {
  40.                 name "PCM Switch"
  41.                 preserve true
  42.                 lock true
  43.                 value [ false false ]
  44.             }
  45.         ]
  46.     }
  47. }    
  48.  
  49. <confdir:pcm/surround40.conf>
  50.  
  51. ENS1370.pcm.surround40.0 {
  52.     @args [ CARD ]
  53.     @args.CARD {
  54.         type string
  55.     }
  56.     type multi
  57.     master 1
  58.     slaves [
  59.         {
  60.             pcm {
  61.                 @func concat
  62.                 strings [
  63.                     "cards.ENS1370.pcm.front.0:CARD=" $CARD
  64.                 ]
  65.             }
  66.             channels 2
  67.         }
  68.         {
  69.             pcm {
  70.                 @func concat
  71.                 strings [
  72.                     "cards.ENS1370.pcm.rear.0:CARD=" $CARD
  73.                 ]
  74.             }
  75.             channels 2
  76.         }
  77.     ]
  78.     bindings [
  79.         { slave 0 channel 0 }
  80.         { slave 0 channel 1 }
  81.         { slave 1 channel 0 }
  82.         { slave 1 channel 1 }
  83.     ]
  84. }
  85.